<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>异常</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="seekableiterator.seek.html">SeekableIterator::seek</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.badfunctioncallexception.html">BadFunctionCallException</a></div>
 <div class="up"><a href="book.spl.html">SPL</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="spl.exceptions" class="part">

 <h1>异常</h1>
<h2>Table of Contents</h2><ul class="chunklist chunklist_part"><li><a href="class.badfunctioncallexception.html">BadFunctionCallException</a></li><li><a href="class.badmethodcallexception.html">BadMethodCallException</a></li><li><a href="class.domainexception.html">DomainException</a></li><li><a href="class.invalidargumentexception.html">InvalidArgumentException</a></li><li><a href="class.lengthexception.html">LengthException</a></li><li><a href="class.logicexception.html">LogicException</a></li><li><a href="class.outofboundsexception.html">OutOfBoundsException</a></li><li><a href="class.outofrangeexception.html">OutOfRangeException</a></li><li><a href="class.overflowexception.html">OverflowException</a></li><li><a href="class.rangeexception.html">RangeException</a></li><li><a href="class.runtimeexception.html">RuntimeException</a></li><li><a href="class.underflowexception.html">UnderflowException</a></li><li><a href="class.unexpectedvalueexception.html">UnexpectedValueException</a></li></ul>


 <div class="partintro">
  <p class="para">SPL 提供一系列标准异常。</p><p class="para">可参考<a href="reserved.exceptions.html" class="xref">预定义异常</a>。</p>

  <div class="section" id="spl.exceptions.tree">
   <h2 class="title">SPL Exceptions Class Tree</h2>
   <ul class="itemizedlist">
    <li class="listitem">
     <span class="simpara"><a href="class.logicexception.html" class="classname">LogicException</a> (extends <a href="class.exception.html" class="classname">Exception</a>)</span>
     <ul class="itemizedlist">
      <li class="listitem">
       <span class="simpara"><a href="class.badfunctioncallexception.html" class="classname">BadFunctionCallException</a></span>
       <ul class="itemizedlist">
        <li class="listitem"><span class="simpara"><a href="class.badmethodcallexception.html" class="classname">BadMethodCallException</a></span></li>
       </ul>
      </li>
      <li class="listitem"><span class="simpara"><a href="class.domainexception.html" class="classname">DomainException</a></span></li>
      <li class="listitem"><span class="simpara"><a href="class.invalidargumentexception.html" class="classname">InvalidArgumentException</a></span></li>
      <li class="listitem"><span class="simpara"><a href="class.lengthexception.html" class="classname">LengthException</a></span></li>
      <li class="listitem"><span class="simpara"><a href="class.outofrangeexception.html" class="classname">OutOfRangeException</a></span></li>
     </ul>
    </li>
    <li class="listitem">
     <span class="simpara"><a href="class.runtimeexception.html" class="classname">RuntimeException</a> (extends <a href="class.exception.html" class="classname">Exception</a>)</span>
     <ul class="itemizedlist">
      <li class="listitem"><span class="simpara"><a href="class.outofboundsexception.html" class="classname">OutOfBoundsException</a></span></li>
      <li class="listitem"><span class="simpara"><a href="class.overflowexception.html" class="classname">OverflowException</a></span></li>
      <li class="listitem"><span class="simpara"><a href="class.rangeexception.html" class="classname">RangeException</a></span></li>
      <li class="listitem"><span class="simpara"><a href="class.underflowexception.html" class="classname">UnderflowException</a></span></li>
      <li class="listitem"><span class="simpara"><a href="class.unexpectedvalueexception.html" class="classname">UnexpectedValueException</a></span></li>
     </ul>
    </li>
   </ul>
  </div>

 </div>

 



 


 



 


 



 


 



 


 



 


 



 


 



 


 



 


 



 


 



 


 



 


 



 


 



 



</div>
<hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="seekableiterator.seek.html">SeekableIterator::seek</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="class.badfunctioncallexception.html">BadFunctionCallException</a></div>
 <div class="up"><a href="book.spl.html">SPL</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
